<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<header id="hd">
    <h1 id="hd_h1">1 페이지</h1>
    <div class="to_content"><a href="#container">본문 바로가기</a></div>
    <div id="hd_wrapper">
        <div id="logo" style="text-align: center;">
            <a href="<%=cp%>"><img src="/images/img_title.png" alt="Teamtouch"/></a>
        </div>
		<ul id="re_hd_nb" >
			<li>
			
			<!-- class="paddingR5" -->				
					<span>
						<a style="color:#005cf4;" href="<%=cp%>/org/org_edit.do?mb_id=${sessionScope.ss_mb.mb_id}">${sessionScope.ss_mb.mb_name}</a>
					</span>
					<span class="paddingR5" style="color:#005cf4">
						<c:if test="${sessionScope.ss_mb.mb_auth_code==1}">
							님
						</c:if>
						<c:if test="${sessionScope.ss_mb.mb_auth_code==2}">
							팀장
						</c:if>
						<c:if test="${sessionScope.ss_mb.mb_auth_code==3}">
							과장
						</c:if>	
						<c:if test="${sessionScope.ss_mb.mb_auth_code==4}">
							차장
						</c:if>
						<c:if test="${sessionScope.ss_mb.mb_auth_code==5}">
							부장
						</c:if>
						<c:if test="${sessionScope.ss_mb.mb_auth_code==6}">
							원장
						</c:if>
						<c:if test="${sessionScope.ss_mb.mb_auth_code==7}">
							원장
						</c:if>
						<c:if test="${sessionScope.ss_mb.mb_auth_code==8}">
							님
						</c:if>
						<c:if test="${sessionScope.ss_mb.mb_auth_code==9}">
							님
						</c:if>
					</span>
				
				<c:if test="${sessionScope.ss_mb.mb_auth_code==7 || sessionScope.ss_mb.mb_auth_code==8}">
					<span class="fontBlack paddingR5"><a href="<%=cp%>/biz/biz_hist_mng.do">항목관리</a></span>
				</c:if>
				<span class="fontBlack paddingR5"><a href="<%=cp%>/org/org_list.do">조직도</a></span>				
				<a href="<%=cp%>/logout.do" id="snb_logout">로그아웃</a>
				
			</li>
			
		</ul>
        <ul id="hd_nb">
			<li><a href="<%=cp%>/bbs/notice_list.do"  class="fontcolorFFF">공지사항</a></li>
            <li><a href="<%=cp%>/teamt/teamt_list.do"  class="fontcolorFFF">Teamtouch</a></li>
           	<!-- <li><a href="/idea/index.php" id="snb_faq" class="fontcolorFFF">아이디어</a></li>--->
			<!-- <li><a href="/score/list.php" id="snb_cnt" class="fontcolorFFF">통 계</a></li> -->
        </ul>
    </div>
</header>
